<template>
  <div id="labelIndex">
    <div class="card-page">
      <div class="card-select-row">
        <mu-raised-button class="label" label="AlloyTeam" primary />
        <mu-raised-button class="label" label="分享" secondary />
        <mu-raised-button class="label" label="前端" backgroundColor="#A4C639" />
        <mu-raised-button class="label" label="附件" backgroundColor="#FF9800" />
      </div>
      <div class="card-list">
        <mu-card class="card">
          <mu-card-header class="card-header" title="2017-10-30"></mu-card-header>
          <mu-card-title title="腾讯AlloyTeam前端大会AC2017" />
          <mu-card-actions>
            <mu-raised-button class="label" label="AlloyTeam" primary />
            <mu-raised-button class="label" label="分享" secondary />
            <mu-raised-button class="label" label="前端" backgroundColor="#A4C639" />
            <mu-raised-button class="label" label="附件" backgroundColor="#FF9800" />
          </mu-card-actions>
        </mu-card>
        <mu-card class="card">
          <mu-card-header title="2017-09-10" titleClass="card-header"></mu-card-header>
          <mu-card-title title="JS中的属性描述对象" />
          <mu-card-actions>
            <mu-raised-button class="label" label="Descriptor" primary />
            <mu-raised-button class="label" label="JS" secondary />
            <mu-raised-button class="label" label="CSRF" backgroundColor="#2196f3" />
            <mu-raised-button class="label" label="Web安全" secondary />
            <mu-raised-button class="label" label="XSS" backgroundColor="#A4C639" />
          </mu-card-actions>
        </mu-card>
        <mu-card class="card">
          <mu-card-header title="2017-08-19" titleClass="card-header"></mu-card-header>
          <mu-card-title title="Web安全之CSRF" />
          <mu-card-actions>
            <mu-raised-button class="label" label="CSRF" backgroundColor="#2196f3" />
            <mu-raised-button class="label" label="Web安全" secondary />
            <mu-raised-button class="label" label="XSS" backgroundColor="#A4C639" />
          </mu-card-actions>
        </mu-card>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "labelIndex",
  data: () => ({

  })
}
</script>
<style lang="scss" scoped>
.card-page {
  width: 1000px;
  margin: 0 auto;
}
.card-select-row {
  margin: 10px auto 0;
}
.card-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .card {
    box-sizing: border-box;
    width: 49%;
    margin: 10px 0;
    .label {
      margin-bottom: 10px;
    }
  }
}
</style>
